package org.nstack.header.vm;

import org.nstack.header.message.APIReply;
import org.nstack.header.rest.RestResponse;

import java.util.List;

import static java.util.Arrays.asList;


@RestResponse(fieldsTo = {"orders=order"})
public class APIGetVmBootOrderReply extends APIReply {
    private List<String> order;

    public List<String> getOrder() {
        return order;
    }

    public void setOrder(List<String> order) {
        this.order = order;
    }
 
    public static APIGetVmBootOrderReply __example__() {
        APIGetVmBootOrderReply reply = new APIGetVmBootOrderReply();
        reply.setOrder(asList(VmBootDevice.HardDisk.toString(), VmBootDevice.CdRom.toString()));
        return reply;
    }

}
